package com.gla.market.entity;

public class OrderDetailResponse {
    private Integer id;
    private Integer number;
    private Integer order_id;
    private Evaluation evaluation;
    private Commodity commodity;

    public OrderDetailResponse() {
    }

    public OrderDetailResponse(Integer id, Integer number, Integer order_id, Evaluation evaluation, Commodity commodity) {
        this.id = id;
        this.number = number;
        this.order_id = order_id;
        this.evaluation = evaluation;
        this.commodity = commodity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Evaluation getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(Evaluation evaluation) {
        this.evaluation = evaluation;
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }

    @Override
    public String toString() {
        return "OrderDetailResponse{" +
                "id=" + id +
                ", number=" + number +
                ", order_id=" + order_id +
                ", evaluation=" + evaluation +
                ", commodity=" + commodity +
                '}';
    }
}


